package com.ljq.rpc.common.enums;

public enum MsgType {
    RESPONSE(0,"RESPONSE"),REQUEST(1,"REQUEST");

    int typeID;
    String typeNAME;

    MsgType(int typeID, String typeNAME) {
        this.typeID = typeID;
        this.typeNAME = typeNAME;
    }

    public int getTypeID() {
        return typeID;
    }

    public void setTypeID(int typeID) {
        this.typeID = typeID;
    }

    public String getTypeNAME() {
        return typeNAME;
    }

    public void setTypeNAME(String typeNAME) {
        this.typeNAME = typeNAME;
    }
}
